package com.temp.enumeration;

import lombok.Getter;

@Getter
public enum EmailType {

    EMAIL_TYPE_100(100,"Register code","RCaptcha.html"),

    EMAIL_TYPE_200(200,"Reset password","RSCaptcha.html"),

    EMAIL_TYPE_300(300,"Campaign approved","Approved.html");

    private String emailName;

    private Integer emailCode;

    private String emailEngine;

    EmailType(Integer emailCode, String emailName,String emailEngine) {
        this.emailCode = emailCode;
        this.emailName = emailName;
        this.emailEngine = emailEngine;
    }

    public void setEmailName(String emailName) {
        this.emailName = emailName;
    }

    public void setEmailCode(Integer emailCode) {
        this.emailCode = emailCode;
    }

    public void setEmailEngine(String emailEngine) {
        this.emailEngine = emailEngine;
    }
}

